<template>
  <div class="common-layout">
    <el-container>
      <el-aside>
        <el-row class="tac">
          <el-col>
            <el-menu
              default-active="2"
              class="el-menu-vertical-demo"
              @open="handleOpen"
              @close="handleClose"
              router
            >
              <el-submenu>
                <template #title><i class="el-icon-menu"></i>
                  <span>{{$t("Bsm.userManagement")}}</span>
                </template>
                  <el-menu-item index="/user/mng">{{$t("Bsm.userBsm.user")}}</el-menu-item>
              </el-submenu>
              <el-submenu index="2">
                <template #title><i class="el-icon-setting"></i>
                  <span>{{$t("Bsm.blogManagement")}}</span>
                </template>
                  <el-menu-item index="/blog/type">{{$t("Bsm.blogBsm.type")}}</el-menu-item>
                  <el-menu-item index="2-2">{{$t("Bsm.blogBsm.blog")}}</el-menu-item>
                  <el-menu-item index="2-3">{{$t("Bsm.blogBsm.like")}}</el-menu-item>
                  <el-menu-item index="2-4">{{$t("Bsm.blogBsm.comment")}}</el-menu-item>
                  <el-menu-item index="2-5">{{$t("Bsm.blogBsm.carousel")}}</el-menu-item>
              </el-submenu>
            </el-menu>
          </el-col>
        </el-row>
      </el-aside>
      <el-main><router-view /></el-main>
    </el-container>
  </div>
</template>

<script>
export default {};
</script>

<style>
</style>